package com.ruoyi.cms.websocket_stomp;

public class Message {
    private String content;
    private String targetUsername;
    private String fromUsername;
    private String sendtime;

    public Message() {}

    public Message(String content, String targetUsername) {
        this.content = content;
        this.targetUsername = targetUsername;
    }

    public String getFromUsername() {
        return fromUsername;
    }

    public void setFromUsername(String fromUsername) {
        this.fromUsername = fromUsername;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTargetUsername() {
        return targetUsername;
    }

    public void setTargetUsername(String targetUsername) {
        this.targetUsername = targetUsername;
    }
    public String getSendtime() {
        return sendtime;
    }

    public void setSendtime(String sendtime) {
        this.sendtime = sendtime;
    }
}
